package com.cn.itcast.gjp.mapper;

import com.cn.itcast.gjp.domain.Sort;

import java.util.List;

public interface SortMapper {
    List<Sort> queryAllSort();

    void AddSort(Sort sort);

    void EditSort(Sort sort);

    void DeleteSort(Sort sort);

    List<String> getAllSname();

    Integer getSidBySname(String sname);

    List<String> getSnameByParent(String parent);
}
